package org.chenwei.week10;

/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

import java.beans.*;
import java.io.Serializable;

/**
 *
 * @author chenwei
 */
public class Student implements Serializable
{
    private int id;
    private String name;
    private String nationality;
    private String graduate;
    private String department;
    private String email;
    private String phone;

    /**
     * Get the value of phone
     *
     * @return the value of phone
     */
    public String getPhone()
    {
        return phone;
    }

    /**
     * Set the value of phone
     *
     * @param phone new value of phone
     */
    public void setPhone(String phone)
    {
        this.phone = phone;
    }

    /**
     * Get the value of email
     *
     * @return the value of email
     */
    public String getEmail()
    {
        return email;
    }

    /**
     * Set the value of email
     *
     * @param email new value of email
     */
    public void setEmail(String email)
    {
        this.email = email;
    }

    /**
     * Get the value of department
     *
     * @return the value of department
     */
    public String getDepartment()
    {
        return department;
    }

    /**
     * Set the value of department
     *
     * @param department new value of department
     */
    public void setDepartment(String department)
    {
        this.department = department;
    }

    /**
     * Get the value of nationality
     *
     * @return the value of nationality
     */
    public String getNationality()
    {
        return nationality;
    }

    /**
     * Set the value of nationality
     *
     * @param nationality new value of nationality
     */
    public void setNationality(String nationality)
    {
        this.nationality = nationality;
    }

    /**
     * Get the value of graduate
     *
     * @return the value of graduate
     */
    public String getGraduate()
    {
        return graduate;
    }

    /**
     * Set the value of graduate
     *
     * @param graduate new value of graduate
     */
    public void setGraduate(String graduate)
    {
        this.graduate = graduate;
    }

    /**
     * Get the value of name
     *
     * @return the value of name
     */
    public String getName()
    {
        return name;
    }

    /**
     * Set the value of name
     *
     * @param name new value of name
     */
    public void setName(String name)
    {
        this.name = name;
    }

    /**
     * Get the value of id
     *
     * @return the value of id
     */
    public int getId()
    {
        return id;
    }

    /**
     * Set the value of id
     *
     * @param id new value of id
     */
    public void setId(int id)
    {
        this.id = id;
    }

    public Student()
    {
    }

}
